package com.etoppaas.performance.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 表 per_template_spec_relation
 * 
 * @author ruoyi
 * @date 2019-06-05
 */
public class PerTemplateSpecRelation extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	private Long relationId;
	/**  */
	private Long templateId;
	/**  */
	private Long specId;
	/** 权重 */
	private Integer weight;
	/** 考核规格名称 */
	private String specName;
	/** 考核内容 */
	private String specContent;
	/** 绩效归属 */
	private String type;
	/**  */
	private String description;

	public void setTemplateId(Long templateId) 
	{
		this.templateId = templateId;
	}

	public Long getTemplateId() 
	{
		return templateId;
	}
	public void setSpecId(Long specId) 
	{
		this.specId = specId;
	}

	public Long getSpecId() 
	{
		return specId;
	}
	public void setWeight(Integer weight) 
	{
		this.weight = weight;
	}

	public Integer getWeight()
	{
		return weight;
	}

	public String getWeightPer()
	{
		return weight+"%";
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getSpecContent() {
		return specContent;
	}

	public void setSpecContent(String specContent) {
		this.specContent = specContent;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getRelationId() {
		return relationId;
	}

	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}
}
